﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Decorator
{
    /// <summary>
    /// 装饰模式--- 服饰类
    /// </summary>
    public class Decorator:Person
    {
        //受保护的
        protected Person component;

        //打扮
        public Decorator(Person component)
        {
            this.component = component;
        }

        public override void Show()
        {
         
        }



    }
}
